home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-02-11 | 3.9 KB | [□□□□/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Ultima 6 (music/ultima6)
| ext
| Supported |
1%
| dexvert
| PC-98 Music (music/pc98Music)
| ext
| Unsupported |
1%
| dexvert
| Amiga E Module (other/amigaEModule)
| ext
| Unsupported |
1%
| dexvert
| ECX module (other/ecxModule)
| ext
| Unsupported |
1%
| dexvert
| Maple Common Binary (other/mapleCommonBinary)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Feb 11 16:50:56 2002, modified Mon Feb 11 16:50:56 2002, 3366 bytes "POP3CacheManager.m" , at 0xda6 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [□□□□] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 50 4f 50 33 43 61 | 63 68 65 4d 61 6e 61 67 |..POP3Ca|cheManag|
|00000010| 65 72 2e 6d 00 00 00 00 | 00 00 00 00 00 00 00 00 |er.m....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 0d 26 00 | 00 01 1e b8 8d ed 40 b8 |......&.|......@.|
|00000060| 8d ed 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 14 e3 00 00 |........|........|
|00000080| 2f 2a 0a 2a 2a 20 20 50 | 4f 50 33 43 61 63 68 65 |/*.** P|OP3Cache|
|00000090| 4d 61 6e 61 67 65 72 2e | 6d 0a 2a 2a 0a 2a 2a 20 |Manager.|m.**.** |
|000000a0| 20 43 6f 70 79 72 69 67 | 68 74 20 28 63 29 20 32 | Copyrig|ht (c) 2|
|000000b0| 30 30 31 2c 20 32 30 30 | 32 0a 2a 2a 0a 2a 2a 20 |001, 200|2.**.** |
|000000c0| 20 41 75 74 68 6f 72 3a | 20 4c 75 64 6f 76 69 63 | Author:| Ludovic|
|000000d0| 20 4d 61 72 63 6f 74 74 | 65 20 3c 6c 75 64 6f 76 | Marcott|e <ludov|
|000000e0| 69 63 40 53 6f 70 68 6f | 73 2e 63 61 3e 0a 2a 2a |ic@Sopho|s.ca>.**|
|000000f0| 0a 2a 2a 20 20 54 68 69 | 73 20 6c 69 62 72 61 72 |.** Thi|s librar|
|00000100| 79 20 69 73 20 66 72 65 | 65 20 73 6f 66 74 77 61 |y is fre|e softwa|
|00000110| 72 65 3b 20 79 6f 75 20 | 63 61 6e 20 72 65 64 69 |re; you |can redi|
|00000120| 73 74 72 69 62 75 74 65 | 20 69 74 20 61 6e 64 2f |stribute| it and/|
|00000130| 6f 72 0a 2a 2a 20 20 6d | 6f 64 69 66 79 20 69 74 |or.** m|odify it|
|00000140| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|00000150| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 4c 65 73 73 | of the |GNU Less|
|00000160| 65 72 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |er Gener|al Publi|
|00000170| 63 0a 2a 2a 20 20 4c 69 | 63 65 6e 73 65 20 61 73 |c.** Li|cense as|
|00000180| 20 70 75 62 6c 69 73 68 | 65 64 20 62 79 20 74 68 | publish|ed by th|
|00000190| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 20 |e Free S|oftware |
|000001a0| 46 6f 75 6e 64 61 74 69 | 6f 6e 3b 20 65 69 74 68 |Foundati|on; eith|
|000001b0| 65 72 0a 2a 2a 20 20 76 | 65 72 73 69 6f 6e 20 32 |er.** v|ersion 2|
|000001c0| 2e 31 20 6f 66 20 74 68 | 65 20 4c 69 63 65 6e 73 |.1 of th|e Licens|
|000001d0| 65 2c 20 6f 72 20 28 61 | 74 20 79 6f 75 72 20 6f |e, or (a|t your o|
|000001e0| 70 74 69 6f 6e 29 20 61 | 6e 79 20 6c 61 74 65 72 |ption) a|ny later|
|000001f0| 20 76 65 72 73 69 6f 6e | 2e 0a 2a 2a 20 20 0a 2a | version|..** .*|
|00000200| 2a 20 20 54 68 69 73 20 | 6c 69 62 72 61 72 79 20 |* This |library |
|00000210| 69 73 20 64 69 73 74 72 | 69 62 75 74 65 64 20 69 |is distr|ibuted i|
|00000220| 6e 20 74 68 65 20 68 6f | 70 65 20 74 68 61 74 20 |n the ho|pe that |
|00000230| 69 74 20 77 69 6c 6c 20 | 62 65 20 75 73 65 66 75 |it will |be usefu|
|00000240| 6c 2c 0a 2a 2a 20 20 62 | 75 74 20 57 49 54 48 4f |l,.** b|ut WITHO|
|00000250| 55 54 20 41 4e 59 20 57 | 41 52 52 41 4e 54 59 3b |UT ANY W|ARRANTY;|
|00000260| 20 77 69 74 68 6f 75 74 | 20 65 76 65 6e 20 74 68 | without| even th|
|00000270| 65 20 69 6d 70 6c 69 65 | 64 20 77 61 72 72 61 6e |e implie|d warran|
|00000280| 74 79 20 6f 66 0a 2a 2a | 20 20 4d 45 52 43 48 41 |ty of.**| MERCHA|
|00000290| 4e 54 41 42 49 4c 49 54 | 59 20 6f 72 20 46 49 54 |NTABILIT|Y or FIT|
|000002a0| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|000002b0| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 20 53 |CULAR PU|RPOSE. S|
|000002c0| 65 65 20 74 68 65 20 47 | 4e 55 0a 2a 2a 20 20 4c |ee the G|NU.** L|
|000002d0| 65 73 73 65 72 20 47 65 | 6e 65 72 61 6c 20 50 75 |esser Ge|neral Pu|
|000002e0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000002f0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 2a | more de|tails..*|
|00000300| 2a 20 20 0a 2a 2a 20 20 | 59 6f 75 20 73 68 6f 75 |* .** |You shou|
|00000310| 6c 64 20 68 61 76 65 20 | 72 65 63 65 69 76 65 64 |ld have |received|
|00000320| 20 61 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 47 | a copy |of the G|
|00000330| 4e 55 20 4c 65 73 73 65 | 72 20 47 65 6e 65 72 61 |NU Lesse|r Genera|
|00000340| 6c 20 50 75 62 6c 69 63 | 0a 2a 2a 20 20 4c 69 63 |l Public|.** Lic|
|00000350| 65 6e 73 65 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |ense alo|ng with |
|00000360| 74 68 69 73 20 6c 69 62 | 72 61 72 79 3b 20 69 66 |this lib|rary; if|
|00000370| 20 6e 6f 74 2c 20 77 72 | 69 74 65 20 74 6f 20 74 | not, wr|ite to t|
|00000380| 68 65 20 46 72 65 65 20 | 53 6f 66 74 77 61 72 65 |he Free |Software|
|00000390| 0a 2a 2a 20 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |.** Fou|ndation,|
|000003a0| 20 49 6e 63 2e 2c 20 35 | 39 20 54 65 6d 70 6c 65 | Inc., 5|9 Temple|
|000003b0| 20 50 6c 61 63 65 2c 20 | 53 75 69 74 65 20 33 33 | Place, |Suite 33|
|000003c0| 30 2c 20 42 6f 73 74 6f | 6e 2c 20 4d 41 20 30 32 |0, Bosto|n, MA 02|
|000003d0| 31 31 31 2d 31 33 30 37 | 20 55 53 41 0a 2a 2f 0a |111-1307| USA.*/.|
|000003e0| 0a 23 69 6d 70 6f 72 74 | 20 3c 50 61 6e 74 6f 6d |.#import| <Pantom|
|000003f0| 69 6d 65 2f 50 4f 50 33 | 43 61 63 68 65 4d 61 6e |ime/POP3|CacheMan|
|00000400| 61 67 65 72 2e 68 3e 0a | 0a 23 69 6d 70 6f 72 74 |ager.h>.|.#import|
|00000410| 20 3c 50 61 6e 74 6f 6d | 69 6d 65 2f 43 6f 6e 73 | <Pantom|ime/Cons|
|00000420| 74 61 6e 74 73 2e 68 3e | 0a 23 69 6d 70 6f 72 74 |tants.h>|.#import|
|00000430| 20 3c 50 61 6e 74 6f 6d | 69 6d 65 2f 50 4f 50 33 | <Pantom|ime/POP3|
|00000440| 43 61 63 68 65 4f 62 6a | 65 63 74 2e 68 3e 0a 0a |CacheObj|ect.h>..|
|00000450| 40 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 |@impleme|ntation |
|00000460| 50 4f 50 33 43 61 63 68 | 65 4d 61 6e 61 67 65 72 |POP3Cach|eManager|
|00000470| 0a 0a 2d 20 28 69 64 29 | 20 69 6e 69 74 0a 7b 0a |..- (id)| init.{.|
|00000480| 20 20 5b 73 75 70 65 72 | 20 69 6e 69 74 5d 3b 0a | [super| init];.|
|00000490| 0a 20 20 5b 73 65 6c 66 | 20 73 65 74 50 4f 50 33 |. [self| setPOP3|
|000004a0| 43 61 63 68 65 4f 62 6a | 65 63 74 73 3a 20 5b 4e |CacheObj|ects: [N|
|000004b0| 53 41 72 72 61 79 20 61 | 72 72 61 79 5d 5d 3b 0a |SArray a|rray]];.|
|000004c0| 0a 20 20 72 65 74 75 72 | 6e 20 73 65 6c 66 3b 0a |. retur|n self;.|
|000004d0| 7d 0a 0a 2d 20 28 69 64 | 29 20 69 6e 69 74 57 69 |}..- (id|) initWi|
|000004e0| 74 68 50 61 74 68 3a 20 | 28 4e 53 53 74 72 69 6e |thPath: |(NSStrin|
|000004f0| 67 20 2a 29 20 74 68 65 | 50 61 74 68 0a 7b 0a 20 |g *) the|Path.{. |
|00000500| 20 5b 73 65 6c 66 20 69 | 6e 69 74 5d 3b 0a 20 20 | [self i|nit];. |
|00000510| 0a 20 20 5b 73 65 6c 66 | 20 73 65 74 50 61 74 68 |. [self| setPath|
|00000520| 54 6f 43 61 63 68 65 3a | 20 74 68 65 50 61 74 68 |ToCache:| thePath|
|00000530| 5d 3b 0a 0a 20 20 72 65 | 74 75 72 6e 20 73 65 6c |];.. re|turn sel|
|00000540| 66 3b 0a 7d 0a 0a 2d 20 | 28 76 6f 69 64 29 20 64 |f;.}..- |(void) d|
|00000550| 65 61 6c 6c 6f 63 0a 7b | 0a 20 20 52 45 4c 45 41 |ealloc.{|. RELEA|
|00000560| 53 45 28 70 6f 70 33 43 | 61 63 68 65 4f 62 6a 65 |SE(pop3C|acheObje|
|00000570| 63 74 73 29 3b 0a 0a 20 | 20 5b 73 75 70 65 72 20 |cts);.. | [super |
|00000580| 64 65 61 6c 6c 6f 63 5d | 3b 0a 7d 0a 0a 0a 2d 20 |dealloc]|;.}...- |
|00000590| 28 42 4f 4f 4c 29 20 73 | 79 6e 63 68 72 6f 6e 69 |(BOOL) s|ynchroni|
|000005a0| 7a 65 0a 7b 0a 20 20 72 | 65 74 75 72 6e 20 5b 4e |ze.{. r|eturn [N|
|000005b0| 53 41 72 63 68 69 76 65 | 72 20 61 72 63 68 69 76 |SArchive|r archiv|
|000005c0| 65 52 6f 6f 74 4f 62 6a | 65 63 74 3a 20 73 65 6c |eRootObj|ect: sel|
|000005d0| 66 20 74 6f 46 69 6c 65 | 3a 20 5b 73 65 6c 66 20 |f toFile|: [self |
|000005e0| 70 61 74 68 54 6f 43 61 | 63 68 65 5d 5d 3b 0a 7d |pathToCa|che]];.}|
|000005f0| 0a 0a 2f 2f 0a 2f 2f 20 | 4e 53 43 6f 64 69 6e 67 |..//.// |NSCoding|
|00000600| 20 70 72 6f 74 6f 63 6f | 6c 0a 2f 2f 0a 0a 2d 20 | protoco|l.//..- |
|00000610| 28 76 6f 69 64 29 20 65 | 6e 63 6f 64 65 57 69 74 |(void) e|ncodeWit|
|00000620| 68 43 6f 64 65 72 3a 20 | 28 4e 53 43 6f 64 65 72 |hCoder: |(NSCoder|
|00000630| 20 2a 29 20 74 68 65 43 | 6f 64 65 72 0a 7b 0a 20 | *) theC|oder.{. |
|00000640| 20 5b 74 68 65 43 6f 64 | 65 72 20 65 6e 63 6f 64 | [theCod|er encod|
|00000650| 65 4f 62 6a 65 63 74 3a | 20 5b 73 65 6c 66 20 70 |eObject:| [self p|
|00000660| 6f 70 33 43 61 63 68 65 | 4f 62 6a 65 63 74 73 5d |op3Cache|Objects]|
|00000670| 5d 3b 0a 7d 0a 0a 2d 20 | 28 69 64 29 20 69 6e 69 |];.}..- |(id) ini|
|00000680| 74 57 69 74 68 43 6f 64 | 65 72 3a 20 28 4e 53 43 |tWithCod|er: (NSC|
|00000690| 6f 64 65 72 20 2a 29 20 | 74 68 65 43 6f 64 65 72 |oder *) |theCoder|
|000006a0| 0a 7b 0a 20 20 73 65 6c | 66 20 3d 20 5b 73 75 70 |.{. sel|f = [sup|
|000006b0| 65 72 20 69 6e 69 74 5d | 3b 0a 0a 20 20 5b 73 65 |er init]|;.. [se|
|000006c0| 6c 66 20 73 65 74 50 4f | 50 33 43 61 63 68 65 4f |lf setPO|P3CacheO|
|000006d0| 62 6a 65 63 74 73 3a 20 | 5b 74 68 65 43 6f 64 65 |bjects: |[theCode|
|000006e0| 72 20 64 65 63 6f 64 65 | 4f 62 6a 65 63 74 5d 5d |r decode|Object]]|
|000006f0| 3b 0a 0a 20 20 72 65 74 | 75 72 6e 20 73 65 6c 66 |;.. ret|urn self|
|00000700| 3b 0a 7d 0a 0a 0a 2f 2f | 0a 2f 2f 20 61 63 63 65 |;.}...//|.// acce|
|00000710| 73 73 2f 6d 75 74 61 74 | 69 6f 6e 20 6d 65 74 68 |ss/mutat|ion meth|
|00000720| 6f 64 73 0a 2f 2f 0a 0a | 0a 2d 20 28 76 6f 69 64 |ods.//..|.- (void|
|00000730| 29 20 61 64 64 4f 62 6a | 65 63 74 3a 20 28 50 4f |) addObj|ect: (PO|
|00000740| 50 33 43 61 63 68 65 4f | 62 6a 65 63 74 20 2a 29 |P3CacheO|bject *)|
|00000750| 20 74 68 65 50 4f 50 33 | 43 61 63 68 65 4f 62 6a | thePOP3|CacheObj|
|00000760| 65 63 74 0a 7b 0a 20 20 | 5b 70 6f 70 33 43 61 63 |ect.{. |[pop3Cac|
|00000770| 68 65 4f 62 6a 65 63 74 | 73 20 61 64 64 4f 62 6a |heObject|s addObj|
|00000780| 65 63 74 3a 20 74 68 65 | 50 4f 50 33 43 61 63 68 |ect: the|POP3Cach|
|00000790| 65 4f 62 6a 65 63 74 5d | 3b 0a 7d 0a 0a 2d 20 28 |eObject]|;.}..- (|
|000007a0| 76 6f 69 64 29 20 72 65 | 6d 6f 76 65 4f 62 6a 65 |void) re|moveObje|
|000007b0| 63 74 3a 20 28 50 4f 50 | 33 43 61 63 68 65 4f 62 |ct: (POP|3CacheOb|
|000007c0| 6a 65 63 74 20 2a 29 20 | 74 68 65 50 4f 50 33 43 |ject *) |thePOP3C|
|000007d0| 61 63 68 65 4f 62 6a 65 | 63 74 0a 7b 0a 20 20 5b |acheObje|ct.{. [|
|000007e0| 70 6f 70 33 43 61 63 68 | 65 4f 62 6a 65 63 74 73 |pop3Cach|eObjects|
|000007f0| 20 72 65 6d 6f 76 65 4f | 62 6a 65 63 74 3a 20 74 | removeO|bject: t|
|00000800| 68 65 50 4f 50 33 43 61 | 63 68 65 4f 62 6a 65 63 |hePOP3Ca|cheObjec|
|00000810| 74 5d 3b 0a 7d 0a 0a 2d | 20 28 50 4f 50 33 43 61 |t];.}..-| (POP3Ca|
|00000820| 63 68 65 4f 62 6a 65 63 | 74 20 2a 29 20 66 69 6e |cheObjec|t *) fin|
|00000830| 64 50 4f 50 33 43 61 63 | 68 65 4f 62 6a 65 63 74 |dPOP3Cac|heObject|
|00000840| 3a 20 28 4e 53 53 74 72 | 69 6e 67 20 2a 29 20 74 |: (NSStr|ing *) t|
|00000850| 68 65 55 49 44 0a 7b 0a | 20 20 50 4f 50 33 43 61 |heUID.{.| POP3Ca|
|00000860| 63 68 65 4f 62 6a 65 63 | 74 20 2a 61 6e 4f 62 6a |cheObjec|t *anObj|
|00000870| 65 63 74 3b 0a 20 20 69 | 6e 74 20 69 3b 0a 0a 20 |ect;. i|nt i;.. |
|00000880| 20 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c | for (i |= 0; i <|
|00000890| 20 5b 5b 73 65 6c 66 20 | 70 6f 70 33 43 61 63 68 | [[self |pop3Cach|
|000008a0| 65 4f 62 6a 65 63 74 73 | 5d 20 63 6f 75 6e 74 5d |eObjects|] count]|
|000008b0| 3b 20 69 2b 2b 29 0a 20 | 20 20 20 7b 0a 20 20 20 |; i++). | {. |
|000008c0| 20 20 20 61 6e 4f 62 6a | 65 63 74 20 3d 20 5b 5b | anObj|ect = [[|
|000008d0| 73 65 6c 66 20 70 6f 70 | 33 43 61 63 68 65 4f 62 |self pop|3CacheOb|
|000008e0| 6a 65 63 74 73 5d 20 6f | 62 6a 65 63 74 41 74 49 |jects] o|bjectAtI|
|000008f0| 6e 64 65 78 3a 20 69 5d | 3b 0a 20 20 20 20 20 20 |ndex: i]|;. |
|00000900| 0a 20 20 20 20 20 20 69 | 66 20 28 20 5b 5b 61 6e |. i|f ( [[an|
|00000910| 4f 62 6a 65 63 74 20 75 | 69 64 5d 20 69 73 45 71 |Object u|id] isEq|
|00000920| 75 61 6c 54 6f 53 74 72 | 69 6e 67 3a 20 74 68 65 |ualToStr|ing: the|
|00000930| 55 49 44 5d 20 29 0a 09 | 7b 0a 09 20 20 72 65 74 |UID] )..|{.. ret|
|00000940| 75 72 6e 20 61 6e 4f 62 | 6a 65 63 74 3b 0a 09 7d |urn anOb|ject;..}|
|00000950| 0a 20 20 20 20 7d 0a 20 | 20 0a 20 20 72 65 74 75 |. }. | . retu|
|00000960| 72 6e 20 6e 69 6c 3b 0a | 7d 0a 0a 2d 20 28 4e 53 |rn nil;.|}..- (NS|
|00000970| 41 72 72 61 79 20 2a 29 | 20 70 6f 70 33 43 61 63 |Array *)| pop3Cac|
|00000980| 68 65 4f 62 6a 65 63 74 | 73 0a 7b 0a 20 20 72 65 |heObject|s.{. re|
|00000990| 74 75 72 6e 20 70 6f 70 | 33 43 61 63 68 65 4f 62 |turn pop|3CacheOb|
|000009a0| 6a 65 63 74 73 3b 0a 7d | 0a 0a 2d 20 28 76 6f 69 |jects;.}|..- (voi|
|000009b0| 64 29 20 73 65 74 50 4f | 50 33 43 61 63 68 65 4f |d) setPO|P3CacheO|
|000009c0| 62 6a 65 63 74 73 3a 20 | 28 4e 53 41 72 72 61 79 |bjects: |(NSArray|
|000009d0| 20 2a 29 20 74 68 65 50 | 4f 50 33 43 61 63 68 65 | *) theP|OP3Cache|
|000009e0| 4f 62 6a 65 63 74 73 0a | 7b 0a 20 20 69 66 20 28 |Objects.|{. if (|
|000009f0| 20 74 68 65 50 4f 50 33 | 43 61 63 68 65 4f 62 6a | thePOP3|CacheObj|
|00000a00| 65 63 74 73 20 29 0a 20 | 20 20 20 7b 0a 20 20 20 |ects ). | {. |
|00000a10| 20 20 20 4e 53 4d 75 74 | 61 62 6c 65 41 72 72 61 | NSMut|ableArra|
|00000a20| 79 20 2a 6e 65 77 50 4f | 50 33 43 61 63 68 65 4f |y *newPO|P3CacheO|
|00000a30| 62 6a 65 63 74 73 3b 0a | 0a 20 20 20 20 20 20 6e |bjects;.|. n|
|00000a40| 65 77 50 4f 50 33 43 61 | 63 68 65 4f 62 6a 65 63 |ewPOP3Ca|cheObjec|
|00000a50| 74 73 20 3d 20 5b 5b 4e | 53 4d 75 74 61 62 6c 65 |ts = [[N|SMutable|
|00000a60| 41 72 72 61 79 20 61 6c | 6c 6f 63 5d 20 69 6e 69 |Array al|loc] ini|
|00000a70| 74 57 69 74 68 41 72 72 | 61 79 3a 20 74 68 65 50 |tWithArr|ay: theP|
|00000a80| 4f 50 33 43 61 63 68 65 | 4f 62 6a 65 63 74 73 5d |OP3Cache|Objects]|
|00000a90| 3b 0a 20 20 20 20 20 20 | 52 45 4c 45 41 53 45 28 |;. |RELEASE(|
|00000aa0| 70 6f 70 33 43 61 63 68 | 65 4f 62 6a 65 63 74 73 |pop3Cach|eObjects|
|00000ab0| 29 3b 0a 20 20 20 20 20 | 20 70 6f 70 33 43 61 63 |);. | pop3Cac|
|00000ac0| 68 65 4f 62 6a 65 63 74 | 73 20 3d 20 6e 65 77 50 |heObject|s = newP|
|00000ad0| 4f 50 33 43 61 63 68 65 | 4f 62 6a 65 63 74 73 3b |OP3Cache|Objects;|
|00000ae0| 0a 20 20 20 20 7d 0a 20 | 20 65 6c 73 65 0a 20 20 |. }. | else. |
|00000af0| 20 20 7b 0a 20 20 20 20 | 20 20 52 45 4c 45 41 53 | {. | RELEAS|
|00000b00| 45 28 70 6f 70 33 43 61 | 63 68 65 4f 62 6a 65 63 |E(pop3Ca|cheObjec|
|00000b10| 74 73 29 3b 0a 20 20 20 | 20 20 20 70 6f 70 33 43 |ts);. | pop3C|
|00000b20| 61 63 68 65 4f 62 6a 65 | 63 74 73 20 3d 20 6e 69 |acheObje|cts = ni|
|00000b30| 6c 3b 0a 20 20 20 20 7d | 0a 7d 0a 0a 2d 20 28 4e |l;. }|.}..- (N|
|00000b40| 53 53 74 72 69 6e 67 20 | 2a 29 20 70 61 74 68 54 |SString |*) pathT|
|00000b50| 6f 43 61 63 68 65 0a 7b | 0a 20 20 72 65 74 75 72 |oCache.{|. retur|
|00000b60| 6e 20 70 61 74 68 54 6f | 43 61 63 68 65 3b 0a 7d |n pathTo|Cache;.}|
|00000b70| 0a 0a 2d 20 28 76 6f 69 | 64 29 20 73 65 74 50 61 |..- (voi|d) setPa|
|00000b80| 74 68 54 6f 43 61 63 68 | 65 3a 20 28 4e 53 53 74 |thToCach|e: (NSSt|
|00000b90| 72 69 6e 67 20 2a 29 20 | 74 68 65 50 61 74 68 54 |ring *) |thePathT|
|00000ba0| 6f 43 61 63 68 65 0a 7b | 0a 20 20 52 45 54 41 49 |oCache.{|. RETAI|
|00000bb0| 4e 28 74 68 65 50 61 74 | 68 54 6f 43 61 63 68 65 |N(thePat|hToCache|
|00000bc0| 29 3b 0a 20 20 52 45 4c | 45 41 53 45 28 70 61 74 |);. REL|EASE(pat|
|00000bd0| 68 54 6f 43 61 63 68 65 | 29 3b 0a 20 20 70 61 74 |hToCache|);. pat|
|00000be0| 68 54 6f 43 61 63 68 65 | 20 3d 20 74 68 65 50 61 |hToCache| = thePa|
|00000bf0| 74 68 54 6f 43 61 63 68 | 65 3b 0a 7d 0a 0a 2f 2f |thToCach|e;.}..//|
|00000c00| 0a 2f 2f 20 63 6c 61 73 | 73 20 6d 65 74 68 6f 64 |.// clas|s method|
|00000c10| 73 0a 2f 2f 0a 2b 20 28 | 69 64 29 20 70 6f 70 33 |s.//.+ (|id) pop3|
|00000c20| 43 61 63 68 65 4f 62 6a | 65 63 74 73 46 72 6f 6d |CacheObj|ectsFrom|
|00000c30| 44 69 73 6b 57 69 74 68 | 50 61 74 68 3a 20 28 4e |DiskWith|Path: (N|
|00000c40| 53 53 74 72 69 6e 67 20 | 2a 29 20 74 68 65 50 61 |SString |*) thePa|
|00000c50| 74 68 3b 0a 7b 0a 20 20 | 50 4f 50 33 43 61 63 68 |th;.{. |POP3Cach|
|00000c60| 65 4d 61 6e 61 67 65 72 | 20 2a 61 50 4f 50 33 43 |eManager| *aPOP3C|
|00000c70| 61 63 68 65 4d 61 6e 61 | 67 65 72 3b 0a 0a 20 20 |acheMana|ger;.. |
|00000c80| 61 50 4f 50 33 43 61 63 | 68 65 4d 61 6e 61 67 65 |aPOP3Cac|heManage|
|00000c90| 72 20 3d 20 5b 4e 53 55 | 6e 61 72 63 68 69 76 65 |r = [NSU|narchive|
|00000ca0| 72 20 75 6e 61 72 63 68 | 69 76 65 4f 62 6a 65 63 |r unarch|iveObjec|
|00000cb0| 74 57 69 74 68 46 69 6c | 65 3a 20 74 68 65 50 61 |tWithFil|e: thePa|
|00000cc0| 74 68 20 5d 3b 0a 0a 20 | 20 69 66 20 28 20 61 50 |th ];.. | if ( aP|
|00000cd0| 4f 50 33 43 61 63 68 65 | 4d 61 6e 61 67 65 72 20 |OP3Cache|Manager |
|00000ce0| 29 0a 20 20 20 20 7b 0a | 20 20 20 20 20 20 5b 61 |). {.| [a|
|00000cf0| 50 4f 50 33 43 61 63 68 | 65 4d 61 6e 61 67 65 72 |POP3Cach|eManager|
|00000d00| 20 73 65 74 50 61 74 68 | 54 6f 43 61 63 68 65 3a | setPath|ToCache:|
|00000d10| 20 74 68 65 50 61 74 68 | 5d 3b 0a 20 20 20 20 7d | thePath|];. }|
|00000d20| 0a 20 20 65 6c 73 65 0a | 20 20 20 20 7b 0a 20 20 |. else.| {. |
|00000d30| 20 20 20 20 61 50 4f 50 | 33 43 61 63 68 65 4d 61 | aPOP|3CacheMa|
|00000d40| 6e 61 67 65 72 20 3d 20 | 5b 5b 50 4f 50 33 43 61 |nager = |[[POP3Ca|
|00000d50| 63 68 65 4d 61 6e 61 67 | 65 72 20 61 6c 6c 6f 63 |cheManag|er alloc|
|00000d60| 5d 20 69 6e 69 74 57 69 | 74 68 50 61 74 68 3a 20 |] initWi|thPath: |
|00000d70| 74 68 65 50 61 74 68 5d | 3b 0a 20 20 20 20 7d 0a |thePath]|;. }.|
|00000d80| 0a 20 20 72 65 74 75 72 | 6e 20 61 50 4f 50 33 43 |. retur|n aPOP3C|
|00000d90| 61 63 68 65 4d 61 6e 61 | 67 65 72 3b 0a 7d 0a 0a |acheMana|ger;.}..|
|00000da0| 0a 40 65 6e 64 0a 00 00 | 00 00 00 00 00 00 00 00 |.@end...|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000e10| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000e20| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000e30| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+